package com.kgc.feign;
import com.kgc.bean.Jek;
import com.kgc.common.Dto;
import com.kgc.common.DtoUtil;
import com.kgc.pojo.DmUser;
import org.springframework.stereotype.Component;
@Component
public class FeignBack  implements FeignService{
    @Override
    public Dto loadCurrentUserByToken(String key) {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto login(DmUser dmUser) throws Exception {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto checkEmail(String phone) {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto code(String phone) {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto register(Jek jek) throws Exception {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto msg(String phone) {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }

    @Override
    public Dto login_user(Jek jek) throws Exception {
        return DtoUtil.returnFail("相应超时请重试,","110");
    }
}
